<?php

namespace App\Transformers;

use App\Models\Ip;
use App\Models\Role;
use App\Models\FsUser;
use League\Fractal\TransformerAbstract;

class IpUserTransformer extends TransformerAbstract
{

    public function transform(Ip $ip)
    {
        return [
            'id' => $ip->id,
            'ip' => $ip->ip,
        ];
    }
}